using System;
using ilgolosone.Shared.Domain;

namespace ilgolosone.Shared.UnitTests
{
    public class ValueObjectStub : ValueObject<ValueObjectStub>
    {
        public ValueObjectStub()
        {
        }

        public ValueObjectStub(DateTime date, string name, int age, string address)
        {
            Date = date;
            Name = name;
            Age = age;
            Address = address;

            RegisterProperty(value => value.Name);
            RegisterProperty(value => value.Date);
            RegisterProperty(value => value.Age);
            RegisterProperty(value => value.Address);
        }

        public DateTime Date { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public string Address { get; set; }
    }
}